<?

require_once 'common.php';


$gc_token = $user->getSessionToken($fb_user_id);




echo "<fb:header>Welcome to Bundundu</fb:header>";

echo "<p>We will not have access to your password, so please sign-in to your google calendar account. If you don't have one, please create one"
." and start using this application!<p/>";

	//si es la primera vez que se loguea a la aplicacion, hay que pedirle el token a google
	$authSubUrl = $gc_auth->getAuthSubUrl();
	echo "<a href=\"$authSubUrl\">login to your Google account</a>" ;




?>

